package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/***
 * 站点信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_community")
public class SysCommunity {

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 商铺ID
     */
    @TableField(value = "shop_id")
    private Long shopId;

    /**
     * 站点名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 站点负责人
     */
    @TableField(value = "site_manager")
    private String siteManager;

    /**
     * 站点联系电话
     */
    @TableField(value = "site_mobile")
    private String siteMobile;

    /**
     * 开户人
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 开户行
     */
    @TableField(value = "bank")
    private String bank;

    /**
     * 开户账号
     */
    @TableField(value = "bank_card")
    private String bankCard;

    /**
     * 开户地址
     */
    @TableField(value = "bank_addr")
    private String bankAddr;

    /**
     * 状态：0，禁用；1，启用
     */
    @TableField(value = "status")
    private Byte status;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 精度
     */
    @TableField(value = "longitude")
    private Double longitude;

    /**
     * 维度
     */
    @TableField(value = "latitude")
    private Double latitude;

    /**
     * 辐射距离
     */
    @TableField(value = "rad_distance")
    private Double radDistance;

    /***
     * 业务类型
     *   0:租车 1:租车|维修
     */
    @TableField(value = "business_type")
    private Byte businessType;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 备注
     */
    @TableField(value = "remake")
    private String remake;

    /**
     * 修改人
     */
    @TableField(value = "modify_by")
    private Long modifyBy;
}